package 设计模式.visitor;

public class Client {
    public static void main(String[] args) {
        ObjectStructure objectStructure=new ObjectStructure();
        objectStructure.attach(new Man());
        objectStructure.attach(new WoMan());

        Success success=new Success();
        objectStructure.disPlay(success);
    }
}
